package com.kaili.basic.pojo.vo;

import com.kaili.common.pojo.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * @Desc: mdm消息返回类
 * @author: dengmengna
 * @Time: 2019-07-28  9:00
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅,禁止外泄或用于其它商业目的
 */
@Data
@ApiModel(description = "mdm消息")
public class MdmMessageVO extends BaseVo{
  @ApiModelProperty("通知id")
  private Long id;

  @ApiModelProperty("通知标题")
  private String messageTitle;

  @ApiModelProperty("通知类型，id")
  private Long noticeId;

  @ApiModelProperty("通知类型，name")
  private String noticeName;

  @ApiModelProperty("通知内容")
  private String content;

  @DateTimeFormat(pattern = "yyyy-MM-dd hh:MM:ss")
  @ApiModelProperty("通知发布时间")
  private Date sendTime;
  
  @ApiModelProperty("发布范围，推送组范围id连成字符串")
  private String sendRange;

  @ApiModelProperty("发布范围，范围的名字连成字符串")
  private String sendRangeStr;

  @ApiModelProperty("发布范围，id的数组")
  private Integer sendRanges[];

  @DateTimeFormat(pattern = "yyyy-MM-dd hh:MM:ss")
  @ApiModelProperty("有效期")
  private Date validity;

  @ApiModelProperty("必看")
  private String requirement;

  @ApiModelProperty("创建人")
  private String createName;

  @ApiModelProperty("修改人")
  private String modifyName;

  /*@ApiModelProperty("必看/必回")
  private String requirement;

  @ApiModelProperty("平台")
  private String plantformId;*/

  /*@ApiModelProperty("平台")
  private String plantformName;*/

  /*@ApiModelProperty("设备类型")
  private String devicetypeId;*/

  /*@ApiModelProperty("设备类型")
  private String devicetypeName;

  @ApiModelProperty("设备型号")
  private Integer deviceType;

  @ApiModelProperty("设备型号")
  private Integer deviceTypeName;*/

}
